var lists = document.querySelectorAll('.cate_menu_item');
var data = []
lists.forEach((item,i) =>{
  var as = item.querySelectorAll('a');
  var str = '';
  as.forEach(item =>{
      str += item.innerHTML + '/';
  })
data[i]={};
  
data[i].title = str.slice(0,str.length-1)
})

var cate_part = document.querySelectorAll('.cate_part')
cate_part.forEach((item,i)=>{
  data[i].child = {};
  data[i].child.title = [];
  var as = item.querySelectorAll('.cate_channel a');
  as.forEach((item,index) =>{
      data[i].child.title[index] = item.innerText
  })
  data[i].child.children = [];
  var cate_detail_item = item.querySelectorAll('.cate_detail_item');
  cate_detail_item.forEach((item,index)=>{
    data[i].child.children[index] = {} ;
    data[i].child.children[index].title = item.querySelector('.cate_detail_tit').innerText.slice(0,item.querySelector('.cate_detail_tit').innerText.length-1);
    data[i].child.children[index].children = [];
    var as = item.querySelectorAll('.cate_detail_con_lk');
    as.forEach((item,index1)=>{
      data[i].child.children[index].children[index1] = item.innerText
    })
  })
})